projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
575dfb4
)
actionbar: Don't forall() widgets twice
author
Benjamin Otte
<otte@redhat.com>
Mon, 18 Jan 2016 23:53:55 +0000
(
00:53
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 19 Jan 2016 02:45:26 +0000
(
03:45
+0100)
When using forall(), only list the revealer, which lists the box
containing all the children. When using foreach(), bypass revealer and
box and list all children added to the box.
gtk/gtkactionbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkactionbar.c
b/gtk/gtkactionbar.c
index 84c43a83a4bb419b951e59dfa3a8eba80d96cc08..49374e2ad680841b293689f8976c584d01d962c7 100644
(file)
--- a/
gtk/gtkactionbar.c
+++ b/
gtk/gtkactionbar.c
@@
-141,8
+141,7
@@
gtk_action_bar_forall (GtkContainer *container,
if (include_internals)
(* callback) (priv->revealer, callback_data);
-
- if (priv->box)
+ else if (priv->box)
gtk_container_forall (GTK_CONTAINER (priv->box), callback, callback_data);
}